package com.gmt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author John.zhang
 * @version Id: UserController, v 1.0 2020/11/12 19:08 ZhiYong Exp $
 */
@Controller
public class UserController {

    @RequestMapping("/show")
    public String showInfo(Model model){
        model.addAttribute("msg","Thymeleaf Hello");
        return "index";
    }

}
